from setuptools import setup, find_packages
import os
import json

# 读取 package.json 内容
with open(os.path.join(os.path.dirname(__file__), 'package.json'), 'r') as f:
    pkg = json.load(f)
py_name = pkg['name'].replace('-', '_')

setup(
    name=py_name,
    version=pkg['version'],
    # dependencies
    install_requires=[
        'PyAutoGUI>=0.9.54',
        'pillow>=10.4.0',
        'opencv-python>=4.10.0.84',
        'requests>=2.32.3',
        'hp-shared>=1.11.2',
    ],
    # devDependencies
    extras_require={
        'dev': [
            'watchdog>=4.0.1',
        ],
    },
)
